package com.example.easypoi.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class ProvinceVo  implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;
	private String code;
	@Excel(name = "省份")
	private String name;
	private Date created;
	private Integer rowState;

	@ExcelCollection(name = "城市")
	private List<CityVo> cityVos;
}